package com.design.cjm.structural.decorator.example1;

/**
 * 装饰者模式的具体实现A
 *
 * @Author: Jie Ming Chen
 * @Date: 2018/9/19
 * @Version 1.0
 */
public class ConcreteDecoratorA extends Decorator{

    @Override
    public void operation() {
        super.operation();
        this.doSomething();
    }

    private void doSomething() {
        System.out.println("装饰者模式的具体实现A");
    }
}
